<div class="container">
  <div class="row page-header">
    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
      <p class="text-center" style="font-size:23px;"><b>精品推荐</b></p>
    </div>
  </div>

  <div class="row">
    <% @topGameFiles.each do |g| %>
        <%= render partial: "gameFile", locals: { g: g } %>
    <% end %>
  </div>
  <p>留着空后面加上</p>
  <div class="row page-header">
    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
      <p>热门游戏</p>
    </div>
  </div>
  <div class="row">
    <% @hotGameFiles.each do |g| %>
        <%= render partial: "gameFile", locals: { g: g } %>
    <% end %>
  </div>
  <br />
  <p class="text-right">
    <%= link_to '查看更多', "/welcome/all" %>
  </p>
  <div class="row page-header">
    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
      <p>最近更新</p>
    </div>
  </div>
  <div class="row">
    <% @newGameFiles.each do |g| %>
        <%= render partial: "gameFile", locals: { g: g } %>
    <% end %>
  </div>
</div>